<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="../js/jquery.min.js"></script>
  <script>
    $(() => {
      // $('div').html('<h1>123</h1>')
      console.log($('div').html())
      $('div').text('<h1>123</h1>')
      // console.log($('input').val())

      $('input').val('啊啊啊啊啊啊')
    })
  </script>
</head>

<body>

  <div>123</div>
  <input type="text" value="aaa">
</body>

</html>